<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gutenprint</Name>
        <Homepage>http://gimp-print.sourceforge.net/</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>data</IsA>
        <Summary>High quality printer drivers</Summary>
        <Description>gutenprint contains drivers for Canon, Epson, Lexmark, Sony, Olympus, and PCL printers for use with Ghostscript, CUPS, Foomatic, and the Gimp.</Description>
        <Archive sha1sum="b277ae58af0de0f0e9e1884d5dde8f1673528c4f" type="tarbz2">mirrors://sourceforge/gimp-print/gutenprint-5.2/5.2.13/gutenprint-5.2.13.tar.bz2</Archive>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="src/cups/cups-genppdupdate.in">fedora/cups-genppdupdate.py.in</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>cups-devel</Dependency>
            <Dependency>foomatic-db</Dependency>
            <Dependency>ghostscript-devel</Dependency>
            <Dependency>cups</Dependency>
            <!-- For gutenprint-foomaticppdupdate script -->
            <Dependency>python-cups</Dependency>
            <Dependency>atk-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>libusb-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">fedora/gutenprint-build.patch</Patch>
            <!--<Patch level="1">fedora/gutenprint-device-ids.patch</Patch>-->
            <Patch level="1">fedora/gutenprint-menu.patch</Patch>
            <Patch level="1">fedora/gutenprint-O6.patch</Patch>
            <Patch level="1">fedora/gutenprint-postscriptdriver.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>gutenprint</Name>
        <RuntimeDependencies>
            <Dependency>cups</Dependency>
            <!-- For gutenprint-foomaticppdupdate script -->
            <Dependency>ghostscript</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libusb</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>fontconfig</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/lib/cups</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man/</Path>
            <Path fileType="data">/usr/share/cups</Path>
            <Path fileType="data">/usr/share/foomatic</Path>
            <Path fileType="data">/usr/share/gutenprint</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/usr/include/gutenprintui2/</Path>
            <Path fileType="data"> /etc/cups/command.types</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0755" target="/usr/sbin/gutenprint-foomaticppdupdate">fedora/gutenprint-foomaticppdupdate</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>gutenprint-devel</Name>
        <Summary>Development files for gutenprint</Summary>
        <RuntimeDependencies>
            <Dependency release="current">gutenprint</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/gutenprint</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-12-15</Date>
            <Version>5.2.13</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-03-02</Date>
            <Version>5.2.12</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>5.2.11</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-13</Date>
            <Version>5.2.11</Version>
            <Comment>First release</Comment>
            <Name>Ali Algul</Name>
            <Email>alialgul@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
